"""Constants for the Device Bridge integration."""

DOMAIN = "device_bridge"
API_ENDPOINT = "/api/device_bridge"
QR_CODE_SERVICE = "generate_qr_code"

# 支持的设备类型
SUPPORTED_DEVICE_TYPES = [
    "mindor_cloud",
    "xiaomi_device_hub", 
    "xiaomi_miot"
]

# 支持的域
SUPPORTED_DOMAINS = [
    "switch",
    "light", 
    "cover",
    "climate",
    "sensor",
    "binary_sensor"
]

# API配置
API_VERSION = "1.0"
TOKEN_EXPIRY_DAYS = 30